package com.vdm.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class PilotInfo {
    private Integer id;

    private String pilotName;

    private String pilotCrad;

    private String pilotTel;

    private String pilotAdr;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pilotLicenseTime;

    private Short status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date workLicenseTime;

    private String remark;

    private Date createTime;

    private String createBy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPilotName() {
        return pilotName;
    }

    public void setPilotName(String pilotName) {
        this.pilotName = pilotName == null ? null : pilotName.trim();
    }

    public String getPilotCrad() {
        return pilotCrad;
    }

    public void setPilotCrad(String pilotCrad) {
        this.pilotCrad = pilotCrad == null ? null : pilotCrad.trim();
    }

    public String getPilotTel() {
        return pilotTel;
    }

    public void setPilotTel(String pilotTel) {
        this.pilotTel = pilotTel == null ? null : pilotTel.trim();
    }

    public String getPilotAdr() {
        return pilotAdr;
    }

    public void setPilotAdr(String pilotAdr) {
        this.pilotAdr = pilotAdr == null ? null : pilotAdr.trim();
    }

    public Date getPilotLicenseTime() {
        return pilotLicenseTime;
    }

    public void setPilotLicenseTime(Date pilotLicenseTime) {
        this.pilotLicenseTime = pilotLicenseTime;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Date getWorkLicenseTime() {
        return workLicenseTime;
    }

    public void setWorkLicenseTime(Date workLicenseTime) {
        this.workLicenseTime = workLicenseTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }
}